@model Campus.Entities.Estudiante

@* This partial view defines form fields that will appear when creating and editing entities *@

@Html.Partial("_CreateOrEditAdministradorYResponsable", Model)

@*<div class="control-group">
	<div class="control-label">
    Documentacion
</div>
<div class="controls">
    @Html.DropDownListFor(model => model.DocumentacionId, ((IEnumerable<Campus.Entities.Documentacion>)ViewBag.PossibleDocumentacions).Select(option => new SelectListItem {
        Text = Html.DisplayTextFor(_ => option).ToString(), 
        Value = option.DocumentacionId.ToString(),
        Selected = (Model != null) && (option.DocumentacionId == Model.DocumentacionId)
    }), "Elegir...")
    @Html.ValidationMessageFor(model => model.DocumentacionId)
</div>
</div>*@
<div class="control-group">
	<div class="control-label">
    Responsable
</div>
<div class="controls">
    @Html.DropDownListFor(model => model.ResponsableId, ((IEnumerable<Campus.Entities.Responsable>)ViewBag.PossibleResponsables).Select(option => new SelectListItem {
        Text = (option == null ? "None" : option.Apellido), 
        Value = option.ResponsableId.ToString(),
        Selected = (Model != null) && (option.ResponsableId == Model.ResponsableId)
    }), "Elegir...")
    @Html.ValidationMessageFor(model => model.ResponsableId)
</div>
</div>

@Html.Partial("_CreateOrEditAdministrador", Model)

